<?php
/*
 * class.logout.php
 * 文件说明:后台管理模块，注销
 * @version 0.1
 * @author samuel
 * @date 2009-05-07
 */
class admin_logout {
    private $core = null;

	function  __construct(Core $core) {
		$this->core = $core;

		$this->run();
	}

	function run(){
		$adminuser = $this->core->load('user::adminuser');
		$adminuser->logout();
		header('Location:');
	}
}
?>
